<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>chenqiuheng</title>
	<script src="<c:url value="/ui/jquery/1.12.4/jquery.min.js"/>"></script>
	<script type="text/javascript" src="<c:url value="/ui/bootstrap/3.3.0/js/bootstrap.min.js"/>"></script>
	<script type="text/javascript" src="<c:url value="/ui/jquery/content scroller/jquery.mCustomScrollbar.concat.min.js"/>"></script>
	<script type="text/javascript" src="<c:url value="/ui/jquery/jqueryBanner/js/banner.js"/>"></script>
	<link rel="stylesheet" href="<c:url value="/ui/bootstrap/3.3.0/css/bootstrap.min.css"/>" type="text/css"/>
	<link rel="stylesheet" href="<c:url value="/ui/jquery/content scroller/jquery.mCustomScrollbar.css"/>" type="text/css"/>
	<link rel="stylesheet" href="<c:url value="/ui/jquery/jqueryBanner/css/banner.css"/>" type="text/css"/>
	<link rel="stylesheet" href="<c:url value="/ui/jquery/audiojs/css/main.css"/>" type="text/css"/>
	<link rel="stylesheet" href="<c:url value="/ui/css/myweb/RContent.css"/>" type="text/css"/>
</head>
<body>
<div class="container">
	<nav class="navbar navbar-default navbar-header-contain" role="navigation">
	  <div class="container-fluid">
	    <!-- Brand and toggle get grouped for better mobile display -->
	    <div class="navbar-header">
	      <button type="button" class="navbar-toggle collapsed"  data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
	        <span class="sr-only">Toggle navigation</span>
	        <span class="icon-bar"></span>
	        <span class="icon-bar"></span>
	        <span class="icon-bar"></span>
	      </button>
	      <a class="navbar-brand" href="main">Cone</a>
	    </div>
	
	    <!-- Collect the nav links, forms, and other content for toggling -->
	    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
	      <ul class="nav navbar-nav">
	        <li><a href="#">Note</a></li>
	        <li><a href="album">Album</a></li>
	        <li class="dropdown">
	          <a href="#" class="dropdown-toggle" data-toggle="dropdown">Project <span class="caret"></span></a>
	          <ul class="dropdown-menu" role="menu">
	            <li><a href="#">51单片机</a></li>
	            <li><a href="#">Java Web</a></li>
	            <li class="divider"></li>
	            <li><a href="#">Other</a></li>
	          </ul>
	        </li>
	      </ul>
	      <form class="navbar-form navbar-left" role="search">
	        <div class="form-group">
	          <input type="text" class="form-control" placeholder="Search">
	        </div>
	        <button type="submit" class="btn btn-default">搜索</button>
	      </form>
	     	 <div>
	     	 	<ul class="nav navbar-nav navbar-right">
			        <li>
			        	<c:if test="${sessionScope.username==null}">
			        		<a class="glyphicon glyphicon-check" data-toggle="modal" data-target="#myModal" href="#">登录</a>
			        	</c:if>
			        	<c:if test="${sessionScope.username!=null}">
			        		<ul class="nav navbar-nav navbar-right">
						      	<li class="dropdown">
						          <a href="#" class="dropdown-toggle" data-toggle="dropdown"><strong>${sessionScope.username}</strong><span class="caret"></span></a>
						          <ul class="dropdown-menu" role="menu">
						            <li><a href="#">Action</a></li>
						            <li><a href="#">Another action</a></li>
						            <li><a href="#">Something else here</a></li>
						            <li class="divider"></li>
						            <li><a href="logoff">注销</a></li>
						          </ul>
						        </li>
						    </ul>
			        	</c:if>
			        </li>
      		    </ul>
	     	 </div>
	    </div><!-- /.navbar-collapse -->
	  </div><!-- /.container-fluid -->
	</nav>
	
	<div class="container-fluid">
	  <div class="row">
	      <div class="col-md-1 col-sm-12 col-xs-12 lcontent">
			<div class="lside_warp">
				<ul class="text-center">
					<li><i class="glyphicon glyphicon-user"></i></li>
					<li><i class="glyphicon glyphicon-pencil"></i></li>
					<li><i class="glyphicon glyphicon-time"></i></li>
					<li><i class="glyphicon glyphicon-book"></i></li>
					<li><i class="glyphicon glyphicon-qrcode"></i></li>
				</ul>
			</div>
	      </div>
		  <div class="col-md-10 col-sm-12 col-xs-12">
			  	<div class="rcontent">
			  		<div class="container-fluid ">
			  		<div class="row">
			  			<h2 class="title col-md-12 col-sm-10 col-xs-10">&nbsp+&nbspProfile - About Me</h2>
			  		</div>
			  		<div class="row">
				  		<div class="col-md-7 col-sm-12">
							<table class="table table-striped">
			 					<tr><th colspan=2><strong">Chenqiuheng</strong></th></tr>
			 					<tr>
			 						<td><i class="glyphicon glyphicon-user"></i><label>Name</label></td>
			 						<td><span class="value">Qiuheng Chen</span></td>
			 					</tr>
			 					<tr>
			 						<td><i class="glyphicon glyphicon-calendar"></i><label>Date of birth</label></td>
			 						<td><span class="value">January 28th</span></td>
			 					</tr>
			 					<tr> 
			 						<td><i class="glyphicon glyphicon-map-marker"></i><label>Adress</label></td>
			 						<td><span class="value">JianSu , CHINA</span></td>
					            </tr>
					            <tr> 
			 						<td><i class="glyphicon glyphicon-envelope"></i><label>Email</label></td>
			 						<td><span class="value">271243712@qq.com</span></td>
					            </tr>
					            <tr> 
			 						<td><i class="glyphicon glyphicon-phone"></i><label>Phone</label></td>
			 						<td><span class="value">15651686308</span></td>
					            </tr>
					            <tr> 
			 						<td><i class="glyphicon glyphicon-globe"></i><label>Website</label></td>
			 						<td><span class="value"><a href="http://www.chenqiuheng.top" target="_blank">www.chenqiuheng.top</a></span></td>
					            </tr>
							</table>
							<blockquote>
							  <p>Learning is like rowing upstream; not to advance is to drop back.</p>
							  <footer>学如逆水行舟，不进则退。</footer>
							</blockquote>  
						</div>
						<div class="col-md-5 col-sm-12 col-xs-12 pic_show">       
					        <div class="bar">
							  	<div class="cycle-slideshow" style="position: relative;">
									<img src="<c:url value="/ui/img/pic/IMG_1.jpg"/>" alt="" class="cycle-slide cycle-sentinel img-thumbnail img-responsive" style="top: 0px; left: 0px; opacity: 1; z-index: 100; position: static; visibility: hidden; display: block;">
									<img src="<c:url value="/ui/img/pic/IMG_2.jpg"/>" alt="" class="cycle-slide img-thumbnail img-responsive" style="position: absolute; top: 0px; left: 0px; display: block; opacity: 0; z-index: 97; visibility: hidden;">
								</div>
							</div>					        
						</div>
					</div>
					</div>
				</div>	
		  </div>
		  <div class="col-md-1 col-sm-12"></div>
	  </div>
	</div>

	<div class="container message_board">
		<div class="row message_board_bc">
				<div class="col-md-10 col-md-offset-1 col-sm-12 col-xs-12">
					<h1 style="font-family:'黑体';display: inline-block;">留言板
						<sup><h4 style="display: inline-block;"><span class="label label-default">1234条留言</span></h4></sup>
					</h1><br/><hr>
						<div class="row message_board_add">
							<div class="col-md-1 col-md-offset-1 col-sm-1 col-sm-offset-1 col-xs-12 col-xs-offset-4">
								<c:if test="${sessionScope.userlog!=mull}">
									<img src="<c:url value="/UserLogServlet/user_log?user_log=${sessionScope.userlog}"/>" alt="用户图片" class="img-circle" style="width:60px"/>
								</c:if>
								<c:if test="${sessionScope.userlog==mull}">
									<img src="http://www.kuwo.cn/static/image/comment/def60.jpg" alt="用户图片" class="img-circle" style="width:60px"/>
								</c:if>
							</div>
							<form class="col-md-8 col-sm-8 col-sm-offset-2 col-xs-12 col-xs-offset-5 text-center message_board_input" action="assess" method="post">
								<!-- <input type="text" value="${sessionScope.username}" hidden> -->
								<div class="textBox"><textarea id="messageCon" name="message_board_user_input" class="scrollBox msgCon"></textarea><span class="msgTips">分享你的见解</span></div>
								<div class="pull-right"><button type="submit" class="btn btn-warning message_board_input">评价</button></div>
							</form>
						</div>
					<hr>
					<div class="row">
						<c:forEach var="user_assess" items="${user_assess}">
						  <div class="col-md-10 col-md-offset-1 col-sm-10 col-sm-offset-1 col-xs-10 col-xs-offset-1">
					 	   <div class="message_board_user">
					 	  	<img src="<c:url value="/UserLogServlet/user_log?user_log=${user_assess.user_log}"/>" alt="用户图片" class="img-circle"/>
							<div class="message_content">
								<label><c:if test="${user_assess.user_name == null}">匿名用户</c:if>${user_assess.user_name}</label>&nbsp
								<span>${user_assess.assess_ip}</span><br/>
								<p class="message_content_text">${user_assess.assess_content}</p>
							</div>
							<c:if test="${sessionScope.userpower>90}">
								<a href="assess_delet?assess_id=${user_assess.assess_id}" class="glyphicon glyphicon glyphicon-trash pull-right" style="cursor: pointer;margin:10px;"></a>
							</c:if>
							<div class="message_info">
								<small>${user_assess.assess_create_time}</small>
								<span href="#" class="glyphicon glyphicon-thumbs-up pull-right" style="cursor: pointer;"><sup><span class="badge">${user_assess.assess_praise}</span></sup></span>
							</div>
					 	  </div><hr>	
					 	 </div> 
					 	  		
						</c:forEach>
					</div>
						   <hr><a href="main?end=${end}"><h4 class="text-center">查看更多留言+</h4></a><hr>


				</div>
			</div>
		</div>
		
	<!-- Modal -->
	<div class="container">
		<div class="row">
			<div class="col-md-10 col-md-offset-1 col-sm-10 col-sm-offset-1 col-xs-10 col-xs-offset-1">
				<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
				  <div class="modal-dialog">
				  <form role="form" action="login_input" method="post">
				    <div class="modal-content">
				      <div class="modal-header">
				        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
				        <h4 class="modal-title" id="myModalLabel">Login</h4>
				      </div>
				      <div class="modal-body">
							  <div class="form-group">
							   <label for="exampleInputUsername">Username</label>
							   <div class="input-group">
							    <div class="input-group-addon"><i class="glyphicon glyphicon-user"></i></div>
							    <input type="text" class="form-control" name="username" id="exampleInputUsername" placeholder="Enter Username">
							   </div>
							  </div>
							  <div class="form-group">
							   <label for="exampleInputPassword">Password</label>
							   <div class="input-group">
							    <div class="input-group-addon"><i class="glyphicon glyphicon-wrench"></i></div>
							   	<input type="password" class="form-control" name="password" id="exampleInputPassword" placeholder="Enter Password">
							   </div>
							<p class="help-block"><a href="sign">Forget Password?</a></p>
						</div>
				      </div>
				      <div class="modal-footer">
				      	<a type="submit" class="btn btn-primary pull-left" href="sign">Sign Up</a>
				        <button type="submit" class="btn btn-primary">Login</button>
				        <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
				      </div>		
				    </div>
				    </form>
				  </div>
				</div>
			</div>
		</div>
	</div>  
</div>
</body>
<script>
(function($){	
	$(".rcontent").mCustomScrollbar({ theme:"dark"});
})(jQuery);
	
</script>
</html>

